import os,sys
from pythonforandroid.recipe import PythonRecipe


class QDarkStyleSheetRecipe(PythonRecipe):
    version = 'v.3.2.3'
    #url = 'https://codeload.github.com/ColinDuquesnoy/QDarkStyleSheet/zip/refs/tags/{version}'
    if os.environ.get("OSMILE_LOCALURL", None):
        url = os.environ.get("OSMILE_LOCALURL", None) + '/QDarkStyleSheet/{version}/{version}.zip'
    else:
        url = 'https://github.com/ColinDuquesnoy/QDarkStyleSheet/archive/{version}.zip'

    depends = ['setuptools']

    python_depends = ['qtpy', 'packaging']

    call_hostpython_via_targetpython = False
    install_in_hostpython = False


recipe = QDarkStyleSheetRecipe()
